package com.comptel.actions.example;

import com.comptel.actions.Action;
import com.comptel.actions.ActionResult;

public class StringIsEmptyAction implements Action {

	@Override
	public String getName() {
		return "isempty";
	}

	@Override
	public ActionResult execute(Object obj) {
		return new SimpleActionResult(((String)obj).equals("")+"");
	}

}
